<ion-view>
    <ion-nav-title ng-bind="saveType + '联系人'">
    </ion-nav-title>
    <ion-nav-buttons side="right">
        <button class="button button-clear button-outline" ng-click="doSave()">
            保存
        </button>
    </ion-nav-buttons>
    <ion-content class="crm-content">
        <div class="list">
            <label class="item item-input item-stacked-label">
                <span class="input-label">酒店名称</span>
                <input type="text" placeholder="" ng-model="EDIT_HOTEL.hotelName" readonly>
            </label>
            <label class="item item-input item-stacked-label crm-edit-label">
                <span class="input-label">联系人姓名</span>
                <input type="text" placeholder="" ng-model="contact.name" maxlength="20">
            </label>
            <label class="item item-input item-stacked-label crm-edit-label">
                <span class="input-label">联系电话</span>
                <input type="tel" ng-model="contact.phone" maxlength="20">
            </label>
            <label class="item item-input item-select">
                <div class="input-label">
                    联系人身份
                </div>
                <select ng-options="key as value for (key,value) in contactDict" ng-model="contact.roleId">
                    <option value="">请选择</option>
                </select>
            </label>
        </div>
        <div class="list">
            <label class="item item-input item-stacked-label crm-edit-label">
                <span class="input-label">备注</span>
                <textarea ng-model="contact.remark" rows="4" maxlength="100">
                </textarea>
            </label>
        </div>
  </ion-content>
</ion-view>
<style>
    input[readonly]:not(.cloned-text-input){
        background-color: #FFFFFF;
    }
</style>